<%/* Copyright (c) 2013-Now http://jeesite.com All rights reserved.
   * No deletion without permission, or be held responsible to law. */ %>
<% layout('/layouts/default.html', {title: '查看消息', libs: ['validate','fileupload']}){ %>
<div class="main-content">
	<div class="box box-main">
		<div class="box-header with-border hide">
			<div class="box-title">
				<i class="fa icon-envelope-letter"></i> ${text('查看消息')}
			</div>
			<div class="box-tools pull-right">
				<button type="button" class="btn btn-box-tool" data-widget="collapse"><i class="fa fa-minus"></i></button>
			</div>
		</div>
		<div class="box-body article-view">
			<h2 class="article-title">${dcSupBacklog.backlogTitle}</h2>
			<div class="content-text">
				${dcSupBacklog.backlogContent}
			</div>
			<ul class="content-info">
				<li><i class="fa fa-user"></i> 发送者：${dcSupBacklog.sendUserName}</li>
				<li><i class="fa fa-calendar"></i> 发送时间：${dcSupBacklog.createDate, 'yyyy-MM-dd HH:mm'}</li>
			</ul>
		</div>
		<div class="box-footer">
			<div class="row">
				<div class="col-sm-offset-2 col-sm-10">
					<button type="button" class="btn btn-sm btn-primary" onclick="openHref()"><i class="fa fa-reply-all"></i> ${text('去办理')}</button>
					<button type="button" class="btn btn-sm btn-default" id="btnCancel" onclick="js.closeCurrentTabPage()"><i class="fa fa-reply-all"></i> ${text('关 闭')}</button>
				</div>
			</div>
		</div>
	</div>
</div>
<% } %>
<script>
	function openHref(){
		js.addTabPage(null, "去办理", '${ctx}${dcSupBacklog.backlogHref}', true,true);
	}
</script>